﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MusabakaDetay.ascx.cs"
    Inherits="HPDMAS.UserControls.MusabakaDetay" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:HyperLink ID="lnkMusabakaListele" runat="server" NavigateUrl="~/Gozlemci/IHKUyesi/MusabakaListesi.aspx"
    Font-Size="17px">Tüm Müsabakaları Görüntüle</asp:HyperLink>
<br />
<br />
<asp:DetailsView ID="dvMusabakaDetay" runat="server" OnModeChanging="dvMusabakaDetay_ModeChanging"
    OnDataBound="dvMusabakaDetay_DataBound" OnItemUpdating="dvMusabakaDetay_ItemUpdating"
    AutoGenerateRows="False" CellPadding="3" CellSpacing="2" ViewStateMode="Disabled">
    <Fields>
        <asp:TemplateField>
            <ItemTemplate>
                <tr>
                    <td align="right">
                        <b>İlçe : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.Ilce.IlceAdi")%>
                    </td>
                    <td align="right">
                        <b>Stad : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.Stat.StatAdi")%>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Lig : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.Lig.LigAdi")%>
                    </td>
                    <td align="right">
                        <b>Grup : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacGrup.MacGrupAdi")%>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Maç : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.EvSahibiTakim.TakimAdi")%>-<%# Eval("Mac.MisafirTakim.TakimAdi")%>
                    </td>
                    <td align="right">
                        <b>Hafta : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacHafta") %>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Tarih : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacTarihi","{0:dd/MM/yyyy}")%>
                    </td>
                    <td align="right">
                        <b>Saat : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacSaati","{0:hh\\:mm}") %>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td colspan="5">
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <b>Görev</b>
                    </td>
                    <td align="center">
                        <b>Ad Soyad</b>
                    </td>
                    <td align="center">
                        <b>Deplasman mı?</b>
                    </td>
                    <td align="center">
                        <b>Yol Ücreti</b>
                    </td>
                    <td align="center">
                        <b>Net Ücret</b>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Hakem : </b>
                    </td>
                    <td>
                        <%# Eval("HakemNfs.KullaniciNfsAdi") %>
                        <%# Eval("HakemNfs.KullaniciNfsSoyadi") %>
                    </td>
                    <td>
                        <asp:CheckBox runat="server" Checked='<%# Eval("HakemDeplasmanMi") %>' Enabled="false" />
                    </td>
                    <td>
                        <%# Eval("HakemYolUcreti","{0:c}") %>
                    </td>
                    <td>
                        <%# Eval("HakemNetUcreti","{0:c}")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Gözlemci : </b>
                    </td>
                    <td>
                        <%# Eval("GozlemciNfs.KullaniciNfsAdi") %>
                        <%# Eval("GozlemciNfs.KullaniciNfsSoyadi")%>
                    </td>
                    <td>
                        <asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("GozlemciDeplasmanMi") %>'
                            Enabled="false" />
                    </td>
                    <td>
                        <%# Eval("GozlemciYolUcreti", "{0:c}")%>
                    </td>
                    <td>
                        <%# Eval("GozlemciNetUcreti","{0:c}")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Yardımcı Hakem 1 : </b>
                    </td>
                    <td>
                        <%# Eval("YardimciHakem1Nfs.KullaniciNfsAdi") %>
                        <%# Eval("YardimciHakem1Nfs.KullaniciNfsSoyadi")%>
                    </td>
                    <td>
                        <asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("YardimciHakem1DeplasmanMi") %>'
                            Enabled="false" />
                    </td>
                    <td>
                        <%# Eval("YardimciHakem1YolUcreti", "{0:c}")%>
                    </td>
                    <td>
                        <%# Eval("YardimciHakem1NetUcreti","{0:c}")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Yardımcı Hakem 2 : </b>
                    </td>
                    <td>
                        <%# Eval("YardimciHakem2Nfs.KullaniciNfsAdi") %>
                        <%# Eval("YardimciHakem2Nfs.KullaniciNfsSoyadi")%>
                    </td>
                    <td>
                        <asp:CheckBox ID="CheckBox3" runat="server" Checked='<%# Eval("YardimciHakem2DeplasmanMi") %>'
                            Enabled="false" />
                    </td>
                    <td>
                        <%# Eval("YardimciHakem2YolUcreti", "{0:c}")%>
                    </td>
                    <td>
                        <%# Eval("YardimciHakem2NetUcreti","{0:c}")%>
                    </td>
                </tr>
            </ItemTemplate>
            <EditItemTemplate>
                <tr>
                    <td align="right">
                        <b>İlçe : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.Ilce.IlceAdi")%>
                    </td>
                    <td align="right">
                        <b>Stad : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.Stat.StatAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Lig : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.Lig.LigAdi")%>
                    </td>
                    <td align="right">
                        <b>Grup : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacGrup.MacGrupAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Maç : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.EvSahibiTakim.TakimAdi")%>-<%# Eval("Mac.MisafirTakim.TakimAdi")%>
                    </td>
                    <td align="right">
                        <b>Hafta : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacHafta") %>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Tarih : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacTarihi","{0:dd/MM/yyyy}")%>
                    </td>
                    <td align="right">
                        <b>Saat : </b>
                    </td>
                    <td>
                        <%# Eval("Mac.MacSaati","{0:hh\\:mm}") %>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <b>Görev</b>
                    </td>
                    <td align="center">
                        <b>Ad Soyad</b>
                    </td>
                    <td align="center">
                        <b>Deplasman mı?</b>
                    </td>
                    <td align="center">
                        <b>Yol Ücreti</b>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Hakem : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlHakem" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:CheckBox ID="chbHakemDeplasmanMi" runat="server" Checked='<%# Eval("HakemDeplasmanMi") %>' />
                    </td>
                    <td>
                        <asp:TextBox MaxLength="6" ID="txtHakemYolUcreti" runat="server" Width="80px" Text='<%# Eval("HakemYolUcreti","{0:f}") %>'></asp:TextBox>
                        <%--                        <asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="txtHakemYolUcreti"
                            Mask="999,99" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
                            MaskType="None" InputDirection="LeftToRight" AcceptNegative="Left" ErrorTooltipEnabled="True"
                            ClearMaskOnLostFocus="false" ClearTextOnInvalid="true" DisplayMoney="Right" />--%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Gözlemci : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlGozlemci" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:CheckBox MaxLength="6" ID="chbGozlemciDeplasmanMi" runat="server" Checked='<%# Eval("GozlemciDeplasmanMi") %>' />
                    </td>
                    <td>
                        <asp:TextBox ID="txtGozlemciYolUcreti" runat="server" Width="80px" Text='<%# Eval("GozlemciYolUcreti","{0:f}") %>'></asp:TextBox>
                        <%--                        <asp:MaskedEditExtender ID="MaskedEditExtender2" runat="server" TargetControlID="txtGozlemciYolUcreti"
                            Mask="999,99" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
                            MaskType="None" InputDirection="RightToLeft" AcceptNegative="Left" ErrorTooltipEnabled="True"
                            ClearMaskOnLostFocus="false" />--%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Yardımcı Hakem 1 : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlYardimciHakem1" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:CheckBox ID="chbYardimciHakem1DeplasmanMi" runat="server" Checked='<%# Eval("YardimciHakem1DeplasmanMi") %>' />
                    </td>
                    <td>
                        <asp:TextBox MaxLength="6" ID="txtYardimciHakem1YolUcreti" runat="server" Width="80px"
                            Text='<%# Eval("YardimciHakem1YolUcreti","{0:f}") %>'></asp:TextBox>
                        <%--                        <asp:MaskedEditExtender ID="MaskedEditExtender3" runat="server" TargetControlID="txtYardimciHakem1YolUcreti"
                            Mask="999,99" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
                            MaskType="None" InputDirection="RightToLeft" AcceptNegative="Left" ErrorTooltipEnabled="True"
                            ClearMaskOnLostFocus="false" />--%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Yardımcı Hakem 2 : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlYardimciHakem2" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:CheckBox ID="chbYardimciHakem2DeplasmanMi" runat="server" Checked='<%# Eval("YardimciHakem2DeplasmanMi") %>' />
                    </td>
                    <td>
                        <asp:TextBox MaxLength="6" ID="txtYardimciHakem2YolUcreti" runat="server" Width="80px"
                            Text='<%# Eval("YardimciHakem2YolUcreti","{0:f}") %>'></asp:TextBox>
                        <%--                        <asp:MaskedEditExtender ID="MaskedEditExtender4" runat="server" TargetControlID="txtYardimciHakem2YolUcreti"
                            Mask="999,99" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
                            MaskType="None" InputDirection="RightToLeft" AcceptNegative="Left" ErrorTooltipEnabled="True"
                            ClearMaskOnLostFocus="false" />--%>
                    </td>
                </tr>
            </EditItemTemplate>
        </asp:TemplateField>
        <asp:CommandField ShowEditButton="True" ButtonType="Button" CancelText="Vazgeç" DeleteText="Sil"
            EditText="Düzenle" InsertText="Ekle" NewText="Yeni" SelectText="Seç" UpdateText="Güncelle"
            ShowHeader="false" />
    </Fields>
</asp:DetailsView>
<br />
